const http = uni.$tn.http
export const wxlogin = (params, config = {}) => http.post('api/weixinllogin/', params, config); //微信登录
export const hasmobile = (params) => http.post('/api/system/user/is_user_has_mobile/', params)//验证有没有手机号
export const refreshToken = (params) => http.post('/token/refresh/', params)

// export const register = (params, config = {}) => http.post('/api/register/index', params, config); //注册
// export const login = (params, config = {}) => http.post('/api/login/index', params, config); //登录
// export const mphone = (params, config = {}) => http.post('/api/login/mphone', params, config); //手机验证码登录
// export const smsSend = (params, config = {}) => http.post('/api/login/smsSend', params, config); //发送验证码
// export const wxlogin = (params, config = {}) => http.post('/api/login/wxlogin', params, config); //微信登录
// export const getmobile = (params, config = {}) => http.post('/api/login/getmobile', params, config); //换取手机号